package
{
    import com.msn.beet.core.ApplicationRuntime;
    import com.msn.beet.errors.ApplicationError;

    public class Preloader extends ApplicationRuntime
    {
        public function Preloader()
        {
            super(Configuration.CONFIG_XML);
            //
            // TO-DO: Add preloader code here
            //
        }

        protected override function applicationLoadStart():void
        {
            //
            // This method is invoked when the application begins to load
            //
        }

        protected override function applicationLoadProgress():void
        {
            //
            // This method is invoked each time application bytes are loaded
            //
        }

        protected override function applicationLoadComplete():void
        {
            //
            // This method is invoked when the application completes loading
            //
        }

        protected override function applicationLoadError(e:ApplicationError):void
        {
            //
            // This method is invoked if the application files to load or fails to initialize
            //
        }
    }
}
